package com.controller.lx;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.entity.Functionalclassify;
import com.service.lx.FunctionalclassifyService;

@Controller
public class FunctionalclassifyController {
	@Autowired
	private FunctionalclassifyService functionalclassifyService;

	/**
	 * 查询部门
	 * @return
	 */
	@PostMapping("/functionalclassify_select_")
	@ResponseBody
	public List<Functionalclassify> findAll(){
		return functionalclassifyService.findAll();
	}
}
